package com.zb.dao;

import com.zb.model.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerMapper {

	public List<TUser> userCount();
	
	public List<TUser> userList();
	
	public List<TGoods> goodsList();
	
	public List<TOrder> orderList();
	
	public TAdmin selectAdmin(@Param("username")String username, @Param("password")String password);

	public void delUserByUserId(String userId);
	
	public void addUser(TUser user);
	
	public void reUser(TUser user);
	
	public void deleteGoods(String goodsid);
	
	public void addGoods(TGoods goods);
	
	public void reGoods(TGoods goods);
	
	public void reStock(TGoods goods);
	
	public void deleteOrder(String orderid);
	
	public List<TUser> dimSelect(String users_dimSearch);
	
	public List<TCategory> dimCateSelect(String cates_dimSearch);
	
	public List<TOrder> dimOrderSelect(String orders_dimSearch);
	
	public List<TOrder> findOrdersService();
	
}
